﻿
@model WebVideo.Areas.Admin.Models.ProfileAdminModel 
@{
    ViewBag.Title = "View";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-1.7.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-ui-1.8.16.custom.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="maincontentinner">
    <ul class="maintabmenu">
        <li class="current"><a href="@Url.Action("Edit", "ProfileAdmin")" >Change Profile</a></li>
        <li class="current"><a href="@Url.Action("Passw", "ProfileAdmin")" >Change Password</a></li>
    </ul>
    <div class="contenttitle">
    <h2 class="form"><span>View</span></h2>
    </div>

    @using (Html.BeginForm("Passw", "ProfileAdmin",
            new { ReturnUrl = ViewBag.ReturnUrl },
            FormMethod.Post, new { @class = "stdform stdform2" }))
    {
        <p>
            <label>Username</label>
            <span class="field">
                @Html.TextBoxFor(model => model.UserName, new { @readonly="readonly" })
            </span>
        </p>
         
        <p>
            <label>Mật khẩu</label>
            <span class="field">
                 @Html.PasswordFor(model => model.Pass)
                @Html.ValidationMessageFor(model => model.Pass)
            </span>
        </p>
        <p>
            <label>Mật khẩu Nhập Lại</label>
            <span class="field">
                @Html.PasswordFor(model => model.ConfirmPassword)
                @Html.ValidationMessageFor(model => model.ConfirmPassword)
            </span>
        </p>

        <p class="stdformbutton">
            <input type="submit" value="Chấp nhận" />
        </p>   
    }
    <br clear="all" />
</div>
<!--maincontentinner-->

